//
//  ZLTimerButton.h
//  ZLCustomViews
//
//  Created by 赵振磊 on 2024/6/18.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZLTimerButton : UIButton
/// 完成倒计时
@property (nonatomic, copy) dispatch_block_t finalCallBack;
/// 开始倒计时
/// - Parameter time: 时间
///   - step: 步长
- (void)startTimer:(NSInteger)time;
- (void)startTimer:(NSInteger)time step:(NSInteger)step;
/// 取消倒计时
- (void)cancelTimer;

@end

NS_ASSUME_NONNULL_END
